package com.hw.one.collect.mapper;

import com.hw.one.collect.movingsource.slagcar.po.PatrolDevicePo;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/8/3.
 */
public interface PatrolDeviceDao {

    /**
     * 保存数据到巡检设备表
     * 4:渣土车
     * @param patrolDevicePo
     */
    void insertPatrolDeviceSelective(PatrolDevicePo patrolDevicePo);

    /**
     * 根据设备编码查询监测设备
     * 4:渣土车
     * @param deviceCode
     * @return
     */
    List<PatrolDevicePo> findPatrolDeviceInfoByDeviceCode(String deviceCode);


    /**
     * 根据设备编码更新巡检设备表
     *
     * @param patrolDevicePo
     */
    void updatePatrolByDeviceCodeSelective(PatrolDevicePo patrolDevicePo);
}
